﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BOOKSTORE.DATA.Models
{
   public class DatabaseContext
    {
       public BookstoreEntities BookstoreContext;
       public DatabaseContext()
        {
            this.BookstoreContext = new BookstoreEntities();
        }
       public List<Language> getall()
       
       {
           return this.BookstoreContext.Languages.ToList();
       }
    }
}
